package cn.edu.xhu.library_management.user.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 预约座位表
 * @TableName lm_reservation_seat
 */
@TableName(value ="lm_reservation_seat")
@Data
public class LmReservationSeat implements Serializable {
    /**
     * 预约座位Id
     */
    @TableId(value = "rs_id", type = IdType.AUTO)
    private Integer rsId;

    /**
     * 用户账号
     */
    @TableField(value = "rs_account")
    private String rsAccount;

    /**
     * 图书馆Id，外键
     */
    @TableField(value = "rs_infoId")
    private Integer rsInfoid;

    /**
     * 楼层Id，外键
     */
    @TableField(value = "rs_floorId")
    private Integer rsFloorid;

    /**
     * 区域Id，外键
     */
    @TableField(value = "rs_areaId")
    private Integer rsAreaid;

    /**
     * 选择座位的行数
     */
    @TableField(value = "rs_row")
    private Integer rsRow;

    /**
     * 选择座位的列数
     */
    @TableField(value = "rs_column")
    private Integer rsColumn;

    /**
     * 预约状态  0 已就坐  1 未就坐
     */
    @TableField(value = "rs_status")
    private Integer rsStatus;

    /**
     * 创建时间
     */
    @TableField(value = "rs_date")
    private Date rsDate;

    /**
     * 删除标识  1 未删除  0 删除
     */
    @TableField(value = "rs_del_flag")
    @TableLogic
    private Integer rsDelFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}